home *** CD-ROM | disk | FTP | other *** search
- unit URoll;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- Tempunit, ComCtrls, StdCtrls, Buttons, OleCtrls, CELLLib_TLB, ExtCtrls;
-
- type
- TFRoll = class(TTemplate)
- procedure FormShow(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
-
- var
- FRoll: TFRoll;
-
- implementation
-
- {$R *.DFM}
-
- procedure TFRoll.FormShow(Sender: TObject);
- Var
- I,J : shortint;
- begin
- inherited;
- Cell1.DoSetUnScrollRow(1,2);
- Cell1.DoSetUnScrollCol(0,0);
- for i:= 0 to 0 do
- for j:=0 to 20 do
- begin
- Cell1.DoSetCellColor(i,j,clyellow,clred); {12:║┌}
- Cell1.DoSetCellString(i,j,'Locked region');
- end;
- for i:= 0 to 2 do
- for j:=0 to 10 do
- begin
- Cell1.DoSetCellColor(j,i,clwhite,clred); {12:║┌}
- Cell1.DoSetCellString(j,i,'Locked region');
- end;
-
- end;
-
- end.
-